<template>
  <div>
    <div class="title">{{$t('accinfo')}}</div>
    <div class="sup">
      {{$t('uname')}}
      <el-input :placeholder="$t('plsipt')" v-model.trim="userInfo.userName" clearable size="mini" :disabled="true"></el-input>
    </div>
        <div class="sup">
      {{$t('nickname')}}
      <el-input :placeholder="$t('plsipt')" v-model.trim="userInfo.nickName" clearable size="mini" :disabled="true"></el-input>
    </div>
    <div class="sup">
      {{$t('monomark')}}
      <el-input :placeholder="$t('plsipt')" v-model.trim="userInfo.registMark" clearable size="mini" :disabled="true"></el-input>
    </div>
    <div class="sup">
      {{$t('phnnum')}}
      <el-input :placeholder="$t('plsipt')" v-model.trim="userInfo.mobileShortNo" clearable size="mini" :disabled="true"></el-input>
    </div>
    <div class="sup">
      {{$t('eml')}}
      <el-input :placeholder="$t('plsipt')" v-model.trim="userInfo.emailShortNo" clearable size="mini" :disabled="true"></el-input>
    </div>
    <div class="sup">
      {{$t('sta')}}
      <el-input :placeholder="$t('plsipt')" v-model.trim="userInfo.userStatus" clearable size="mini" :disabled="true"></el-input>
    </div>
  </div>
</template>

<script>
import Cookies from 'js-cookie'
export default {
  data () {
    return {
      userInfo: null
    }
  },
  methods: {},
  mounted () {
      this.userInfo = JSON.parse(Cookies.get('userinfo'))
  }
}
</script>

<style lang="less" scoped>
.title {
  font-size: 14px;
  font-weight: 700;
  margin-top: 15px;
  margin-left: 10px;
}
.sup {
  position: relative;
  margin-top: 25px;
  margin-left: 10px;
  .el-input {
    position: absolute;
    right: 450px;
    width: 200px;
  }
}
</style>
